require 'tiny_tds'

module Sunlike
  class Connect
    class << self
      def client
        @client ||= TinyTds::Client.new username: 'sa', password: 'owa0812,', host: '192.168.1.251', database: 'DB_C001'
      end

      def exec(sql)
        client.execute(sql)
      end
    end
  end
end